import request from '@/router/axios';

// 客户分页列表
export const facclientPage = (data) => {
  return request({
    url: '/api/uic-system/facclient/page',
    method: 'get',
    params: {
      ...data
    }
  })
}

// 权益分页列表
export const facrightsPage = (data) => {
  return request({
    url: '/api/uic-system/facrights/page',
    method: 'get',
    params: {
      ...data
    }
  })
}

// 新增或修改权益
export const facrightsSubmit = (row) => {
  return request({
    url: '/api/uic-system/facrights/submit',
    method: 'post',
    data: row
  })
}


// 删除权益
export const facrightsRemove = (row) => {
  return request({
    url: '/api/uic-system/facrights/remove',
    method: 'post',
    data: row
  })
}

